<div class="ContentSlider">
	{{foreach item in content_boxes}}
	{{unless item.url}}<div class="img" style="{{if fields.foreach_i}} display: none;{{/if}}">{{/unless}}
	{{if item.url}}<a href="{{item.url}}" class="img" style="{{if fields.foreach_i}} display: none;{{/if}}">{{/if}}
		<div class="preview" style="background-image: url({{preview(configContentBoxes.preview):item.image_url}})"></div>
		<div class="name">{{item.name}}</div>
		<div class="name2">{{item.name2}}</div>
	{{unless item.url}}</div>{{/unless}}
	{{if item.url}}</a>{{/if}}
	{{/foreach}}
	<div class="marks" style="width: {{MUL(30):content_boxes.length}}px">
		{{foreach img in content_boxes}}
			<div class="mark{{unless fields.foreach_i}} markA{{/unless}}"></div>
		{{/foreach}}
	</div>
</div>
<script>
var cs=new ContentSlider({slides:$(".ContentSlider .img"),marks:$(".ContentSlider .marks .mark"),box:$(".ContentSlider")});
</script>

